
package com.hexinfo.dmpro.demo.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hexinfo.dmpro.demo.model.TTest;
import com.hexinfo.dmpro.demo.dao.TTestMapper;
import com.hexinfo.dmpro.demo.service.TTestService;
import org.springframework.stereotype.Service;

/**
 * 测试表
 *
 * @author yemw
 * @date 2023-08-08 09:54:22
 */
@Service
public class TTestServiceImpl extends ServiceImpl<TTestMapper, TTest> implements TTestService {

    @Override
    public Page queryList(Page page, TTest tTest) {
        LambdaQueryWrapper<TTest> wrapper = Wrappers.lambdaQuery();
        wrapper.select();
        Page returnPage = this.baseMapper.selectPage(page, wrapper);
        return returnPage;
    }
}
